package com.hmall.mapper;

import com.hmall.model.MallOrderFufillment;
import com.hmall.util.MyMapper;
import com.hmall.vo.FufillmentVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Repository
public interface MallOrderFufillmentMapper extends MyMapper<MallOrderFufillment> {
    List<FufillmentVo> selectMyFufillment(@Param("customer_id") Integer customer_id, @Param("user_id") Integer user_id,@Param("StratTime") Date StratTime,@Param("EndTime") Date EndTime);

    List<FufillmentVo> selectDealerFufillment(@Param("customer_id")Integer customer_id,@Param("dealer_id") Integer dealer_id,@Param("StratTime") Date stratTime,@Param("EndTime") Date endTime);

    List<FufillmentVo> selectByFulillmentNo(@Param("fufillment_no") String fufillment_no);
}